<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use DB;

class AdminController extends Controller{
//后台首页面
  public function index(){
    $menu = getAllMenu();
    return view('admin.index',compact('menu'));
  }
}
